import request from "@/utils/request";
// 请求二级分类列表数据
export function getCateList(id) {
  return request({
    url: "category",
    method: "get",
    params: { id },
  });
}
// 请求三级分类列表数据
export function getThreeCate(obj) {
  return request({
    url: "category/goods/temporary",
    method: "post",
    data: obj,
  });
}
// 请求三级分类规格数据
export function getSubFilter(id) {
  return request({
    url: "category/sub/filter",
    method: "get",
    params: { id },
  });
}
